package com;

import java.util.List;

import com.bean.imp.DictItemImp;
import com.excel.ExcelParse;

/**
 *
 * @author zhoufang
 * @version v0.1 2019年7月10日 下午10:17:35  zhoufang
 */
public class Start {
	
	public static void main(String[] args) throws Exception {
		// 生成javabean
		ExcelParse.generateJavaBean("item.xlsx");
		// 给Javabena赋值
		ExcelParse.endueValue(DictItemImp.class);
		List<DictItemImp> allConfig = ConfigManager.getAllConfig(DictItemImp.class);
		DictItemImp configByPrimary = ConfigManager.getConfigByPrimary(DictItemImp.class, 1100);
		List<DictItemImp> configByIndex = ConfigManager.getConfigByIndex(DictItemImp.class, DictItemImp.INDEX_NAME,
			"金币");
		List<DictItemImp> configByIndex2 = ConfigManager.getConfigByIndex(DictItemImp.class,
			DictItemImp.INDEX_NAME_ICON, "金币", "a.img");
		System.out.println();
	}
}
